use serde::{Deserialize, Serialize};
#[derive(Serialize, Default)]
pub struct LoginInfo {
    pub user_name: String,
    pub pwd: String,
    pub client_id: String,
    pub code_source: String,
}
#[derive(Deserialize, Default)]
pub struct LoginResult {
    pub redirect_path: String,
    pub access_code: String,
}
#[derive(Deserialize, Default)]
pub struct ImgCode {
    pub code: String,
    pub img: String,
}
#[derive(Debug, Serialize)]
pub struct CodeSource {
    pub code: String,
}
#[derive(Deserialize, Default)]
pub struct Response<T> {
    pub data: T,
}
